/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package otcapp.controlador.jdialogs.consultarPieza;

import autocompletar.componente.AutoCompletarTextField;
import javax.swing.JButton;

/**
 *
 * @author diego
 */
public class BuscarInternoJDialog extends javax.swing.JDialog {

    /**
     * Creates new form BuscarInternoJDialog
     */
    public BuscarInternoJDialog(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        autoCompletar = new autocompletar.componente.AutoCompletarTextField();
        cabeceraJPanelSecundario1 = new otcapp.controlador.jpanels.CabeceraJPanelSecundario("Buscar Interno/a");
        btnNuevoInterno = new javax.swing.JButton();
        btnSeleccionar = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Buscar Interno");

        btnNuevoInterno.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/People-20.png"))); // NOI18N
        btnNuevoInterno.setToolTipText("Nuevo Interno");

        btnSeleccionar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/dialog-apply.png"))); // NOI18N
        btnSeleccionar.setToolTipText("Seleccionar Interno");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(0, 0, Short.MAX_VALUE)
                .addComponent(cabeceraJPanelSecundario1, javax.swing.GroupLayout.PREFERRED_SIZE, 497, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(layout.createSequentialGroup()
                .addComponent(autoCompletar, javax.swing.GroupLayout.PREFERRED_SIZE, 394, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnNuevoInterno, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnSeleccionar, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(cabeceraJPanelSecundario1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(autoCompletar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(30, 30, 30)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(btnSeleccionar)
                            .addComponent(btnNuevoInterno))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    public JButton getBtnNuevoInterno() {
        return btnNuevoInterno;
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private autocompletar.componente.AutoCompletarTextField autoCompletar;
    private javax.swing.JButton btnNuevoInterno;
    private javax.swing.JButton btnSeleccionar;
    private otcapp.controlador.jpanels.CabeceraJPanelSecundario cabeceraJPanelSecundario1;
    // End of variables declaration//GEN-END:variables

    public AutoCompletarTextField getAutoCompletar() {
        return autoCompletar;
    }

    public JButton getBtnSeleccionar() {
        return btnSeleccionar;
    }
}
